Skip to content

Conversation

@mdlinville
Copy link
Contributor

@mdlinville mdlinville commented Jan 16, 2026

Description

Recent updates added PR commenting to the link checker, but the initial comment would not be updated by subsequent runs. This fixes that.

Testing

This adds functionality to automatically comment on PRs with link checker
results when the Mintlify deployment completes. The comment will be updated
on subsequent runs and clearly indicates whether all links are valid or if
issues were found.
@mdlinville mdlinville marked this pull request as ready for review January 16, 2026 20:42
@mdlinville mdlinville requested a review from a team as a code owner January 16, 2026 20:42
@mdlinville mdlinville requested a review from ngrayluna January 16, 2026 20:42
- Fix JavaScript syntax error when exit_code is empty
- Handle both pull_request and deployment_status events properly
- Use safe string interpolation for exit code
- Fallback to docs.wandb.ai when no deployment URL available
Change push trigger to only run on main branch. This prevents duplicate
workflow runs when pushing to PR branches (which triggers both push and
pull_request events).

Now:
- PRs: validated via pull_request trigger
- Main branch: validated via push trigger
- Manual: workflow_dispatch still available
@mdlinville mdlinville merged commit def74ab into main Jan 21, 2026
3 of 4 checks passed
@mdlinville mdlinville deleted the linkcheck_update_pr_comment branch January 21, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants